package xin.sunzy.ssms.entity.po;

import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.List;

/**
 * 角色表
 */

@Alias("role")
public class Role implements Serializable {

	private Long id;//角色id	
	private String roleName;//角色名
	private String description;//角色描述
    private List<Permission> permissionList;//权限列表

	public Role() {}

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}

	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

    public List<Permission> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<Permission> permissionList) {
        this.permissionList = permissionList;
    }

}